projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3058e43
)
(describe-key): Doc fix.
author
Richard M. Stallman
<rms@gnu.org>
Fri, 28 Dec 2001 02:11:59 +0000
(
02:11
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Fri, 28 Dec 2001 02:11:59 +0000
(
02:11
+0000)
lisp/help.el
patch
|
blob
|
history
diff --git
a/lisp/help.el
b/lisp/help.el
index a0308b74b5ddcddea796bee78a329c5e33a574ff..d4b5ceacb4df345bdfbf1e3249c3ff25c22fd970 100644
(file)
--- a/
lisp/help.el
+++ b/
lisp/help.el
@@
-461,7
+461,9
@@
If INSERT (the prefix arg) is non-nil, insert the message in the buffer."
(defun describe-key (key)
- "Display documentation of the function invoked by KEY. KEY is a string."
+ "Display documentation of the function invoked by KEY.
+KEY should be a key sequence--when calling from a program,
+pass a string or a vector."
(interactive "kDescribe key: ")
(save-excursion
(let ((modifiers (event-modifiers (aref key 0)))